import logo from './logo.svg';
import './App.css';
import {BrowserRouter, Link, Route} from "react-router-dom";
import UserLogin from "./UserLogin";
import UserRegister from "./UserRegister";
import BookList from "./BookList";
import LikeList from "./LikeList";
import RecommendList from "./RecommendList";

function App() {
    return (
        <BrowserRouter>
            <div className="App">
                <Route path="/" component={UserLogin} exact="false"/>
                <Route path="/UserRegister" component={UserRegister}/>
                <Route path="/RecommendList" component={RecommendList}/>
                <Route path="/BookList" component={BookList}/>
                <Route path="/LikeList" component={LikeList}/>
            </div>
        </BrowserRouter>
    );
}

export default App;
